import request from '@/utils/request'

export function getDiaryList(class_id, page = 1, per_page = 12) {
  return request({
    url: `/diary-group`,
    method: 'get',
    params: {
      class_id,
      page,
      per_page
    }
  })
}
